package com.example.mobile2021606176mhq0325;

import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    private TextView tvMainTitle;
    private EditText editTextMainShow;
    private Button btnMainMul;
    private Button btnMainBack;
    private Button btnMainDiv;
    private Button btnMainClc;
    private Button btnMainNum7;
    private Button btnMainNum9;
    private Button btnMainSub;
    private Button btnMainNum8;
    private Button btnMainNum5;
    private Button btnMainNum4;
    private Button btnMainNum6;
    private Button btnMainPerson;
    private Button btnMainNum1;
    private Button btnMainNum2;
    private Button btnMainNum3;
    private Button btnMainAdd;
    private Button btnMainNum0;
    private Button btnMainPoint;
    private Button btnMainEqu;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        initView();
    }

    private void initView() {
        tvMainTitle = (TextView) findViewById(R.id.tv_main_title);
        editTextMainShow = (EditText) findViewById(R.id.editText_main_show);
        btnMainMul = (Button) findViewById(R.id.btn_main_mul);
        btnMainBack = (Button) findViewById(R.id.btn_main_back);
        btnMainDiv = (Button) findViewById(R.id.btn_main_div);
        btnMainClc = (Button) findViewById(R.id.btn_main_clc);
        btnMainNum7 = (Button) findViewById(R.id.btn_main_num7);
        btnMainNum9 = (Button) findViewById(R.id.btn_main_num9);
        btnMainSub = (Button) findViewById(R.id.btn_main_sub);
        btnMainNum8 = (Button) findViewById(R.id.btn_main_num8);
        btnMainNum5 = (Button) findViewById(R.id.btn_main_num5);
        btnMainNum4 = (Button) findViewById(R.id.btn_main_num4);
        btnMainNum6 = (Button) findViewById(R.id.btn_main_num6);
        btnMainPerson = (Button) findViewById(R.id.btn_main_person);
        btnMainNum1 = (Button) findViewById(R.id.btn_main_num1);
        btnMainNum2 = (Button) findViewById(R.id.btn_main_num2);
        btnMainNum3 = (Button) findViewById(R.id.btn_main_num3);
        btnMainAdd = (Button) findViewById(R.id.btn_main_add);
        btnMainNum0 = (Button) findViewById(R.id.btn_main_num0);
        btnMainPoint = (Button) findViewById(R.id.btn_main_point);
        btnMainEqu = (Button) findViewById(R.id.btn_main_equ);
    }
}